#include "SymmetricKeyInfo.h"

namespace kryptos { namespace entities {

SymmetricKeyInfo::SymmetricKeyInfo()
{
}

SymmetricKeyInfo::SymmetricKeyInfo(std::string id,
                                   std::string symkeyfile,
                                   bool decryptOnly,
                                   unsigned long long offset)
{
    m_id          = id;
    m_symkeyfile  = symkeyfile;
    m_decryptonly = decryptOnly;
    m_offset      = offset;
}

SymmetricKeyInfo::~SymmetricKeyInfo()
{
}

std::string SymmetricKeyInfo::id() const
{
    return m_id;
}

std::string SymmetricKeyInfo::keyfile() const
{
    return m_symkeyfile;
}

bool SymmetricKeyInfo::isDecryptOnly() const
{
    return m_decryptonly;
}

unsigned long long SymmetricKeyInfo::offset() const
{
    return m_offset;
}

}}
